﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Poligono.IO.FormatTypes
{
    public class ExcelHelper
    {
        //private static string _connStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source={0};Extended Properties=\"Excel 8.0;HDR=No;IMEX=1\"";
        const string _connStr = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source={0};Extended Properties=""Excel 12.0;{1}{2}""";
        const string _defineFieldLikeText = "IMEX=1;";
        const string _firstRowLikeHeader = "HDR=Yes;";

        public void teste()
        {
            if (connStr == "y")
                _defineFieldAsText = "t";
        }

    }
}
